package com.course.smart_campus.service;

import com.course.smart_campus.entity.Dormitory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.course.smart_campus.mapper.DormitoryMapper;

import java.util.Map;

/**
* @author feng-shu-sheng
* @description 针对表【dormitory】的数据库操作Service
* @createDate 2023-11-07 19:42:39
*/
public interface DormitoryService extends IService<Dormitory> {
    // 根据宿舍号查询剩余电量和记录时间
    Map<String, Object> getElectricityInfoByDormitoryId(String dormitoryId);
}
